#include "PreCompile.hpp"
#include "TestWrongProjectFiles.hpp"

namespace BuildNG
{
  void TestWrongProjectFiles::test_invalid_xml()
  {
    try
    {
      Project::load_from_file("TestFiles/InvalidXml.buildng");
      assert(!"an exception should have been thrown.");
    }
    catch(const std::exception&)
    {
      // the expected behaviour.
    }
  }
}